<template>
    <div class="item">
        <div>
            <h4>{{itemObject.Area}}</h4>
            <p>{{itemObject.Appraise}}</p>
            <div class="tags">
                <span>{{itemObject.UploadDate?itemObject.UploadDate.split(' ')[0]:''}}</span>
                <div class="zan">
                    <img class="thumb"
                         src="../../../../static/images/zai_01.png"
                         alt="">
                    <span>{{itemObject.Praise}}</span>
                </div>
            </div>
        </div>
        <div>
            <img class="cover"
                 :src="itemObject.Url[0]" />
        </div>
    </div>
</template>
<script>
export default {
    props: {
        itemObject: Object
    }
}
</script>
<style scoped>
.item {
    display: flex;
    justify-content: space-between;
}
.item .cover {
    width: 130px;
    height: 95px;
    border-radius: 8px;
    margin-left: 36px;
    display: block;
}
.item h4 {
    font-size: 14px;
    color: #333;
    line-height: 22px;
}
.item p {
    height: 35px;
    line-height: 18px;
    color: #999;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 14px;
    margin: 2px 0 15px;
}
.item .tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
.item .zan {
    display: flex;
    align-items: center;
}
.item .thumb {
    width: 20px;
    padding-right: 5px;
}
</style>
